#define _CRT_SECURE_NO_WARNINGS
#include"Stack.h"


void test01()
{
	ST st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);

	StackPop(&st);
	StackPop(&st);
	StackPop(&st);
	//StackPop(&st);
	int top=StackTop(&st);
	printf("%d\n",top);

}

void test02()
{
	ST st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);

	int sz = StackSize(&st);
	printf("%d\n", sz);
}
int main()
{
	//test01();
	//test02();
	return 0;
}